package com.luo.pojo.comment.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CommentDTO implements Serializable {

    /**
     * 评论的内容
     */

    @NotBlank
    private String content;


    /**
     * 评论的帖子id
     */
    @NotNull
    private Integer questionId;

    /**
     * 评论的帖子标题
     */
    private String questionTitle;

    /**
     * 父评论id
     */

    private String parentCommentId;

    /**
     * 父评论的用户id
     */
    private Integer parentCommentUserId;

    /**
     * 被回复的评论id
     */

    private String replyCommentId;

    /**
     * 被回复的评论用户id
     */


    private String replyCommentUserNickname;




}
